@import"./reset";
@function vw($px){
    @return $px/750*100vw
 };
 body{
    width: vw(750);
    height: 100%;
    background: url('../img/背景.jpg')no-repeat center/cover ;
    background-attachment: fixed;
    position: relative;
    .mybook {
        .title{
            margin: 0 auto;
            display: flex;
            justify-content: space-around;
            font-size: vw(30);
            padding-top: vw(215);
            h2{
                font-size: vw(30);
                color: #0075c1;
            }
            span{
                color: #0075c1;
            }
        }
        .box{
            width: vw(598);
            height: vw(388);
            border: 1px solid #007eaa;
            border-radius: vw(10);
            box-shadow: vw(0) vw(4) vw(13) vw(5) rgba(0, 0, 0, 0.3);
            margin: 0 auto;
            margin-top: vw(60);
            display: flex;
            flex-flow: column nowrap;
            justify-content: center;
            span{
                display: block;
                text-align: center;
                padding: vw(20);
                font-size: vw(30);
                color: #434242;
                font-weight: bold;
                &:nth-of-type(4){
                    text-align: right;
                    color: red;
                    font-size: vw(30);
                }
            }
            div{
                display: block;
            }
        }
        .mask{
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.3);
            position: fixed;
            left: 0;
            top: 0;
            display: none;
            .dialog{
                width: vw(500);
                height: vw(500);
                border-radius: vw(5);
                text-align: center;
                /* 实现对浏览器窗口的垂直居中 */
                position: absolute;
                left: 50%;
                top: 55%;
                transform: translate(-50%,-50%);
                border: 2px solid #007eaa;
                img{
                    width: 100%;
                }
            } 
        }   
    }  
 }
  